<template>
  <Subtitle
    v-if="equ !== 'pc'"
    :data="textList"
  ></Subtitle>
  <SubtitlePc
    v-else
    :data="textList"
  ></SubtitlePc>
</template>

<script
  lang="ts"
  setup
  name="UiEventCard"
>
import { equ } from '../../../../package-env';

// hooks

// const 
const props = defineProps({
  cfg: {
    type: Object,
    default: () => ({}),
  },
})

const textList = computed(() => {
  return props.cfg.text || ''
})
</script>